<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/inc/taglib.jsp"%>
<div class="pageContent">
	<form method="post" action="${pageContext.request.contextPath}${requestScope.record ==null ?'/shop/shopFollow/insert' :'/shop/shopFollow/update' }" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			<!-- 关闭窗口 -->
			<input type="hidden" name="callbackType" value="closeCurrent" />
			<!-- 隐藏表单 -->
			<c:if test="${requestScope.record !=null}">
				<input type="hidden" name="id" value="${requestScope.record.id}" />
			</c:if>
			<input name="spid" type="hidden" value="${requestScope.shopId}">
			<%-- <p class="nowrap">
				<label>客户ID</label> <input name="spid" class="required" maxlength="50" type="text" value="${requestScope.record.spid}" />
			</p> --%>
			<%-- <p>
				<label>客户ID</label> <select name="spid" class="combox">
					<c:forEach items="${requestScope.shops }" var="sps">
						<option value="${sps.shopId }" ${sps.shopId == requestScope.record.spid ? 'selected':'' }>${sps.shopName}</option>
					</c:forEach>
				</select>
			</p> --%>
			<%-- <p class="nowrap">
				<label>跟进人</label> <input name="maid" class="required" maxlength="50" type="text" value="${requestScope.record.maid}" />
			</p> --%>
			<%-- <p class="nowrap">
				<label>跟进时间</label> <input type="text" name="fwtm" class="required date textInput readonly" readonly="true" value="<fmt:formatDate value="${record.fwtm}" pattern="yyyy-MM-dd" />" /><a class="inputDateButton" href="javascript:;">选择</a>
			</p> --%>
			<p class="nowrap">
				<label>跟进操作</label> <input name="fwop" class="required" maxlength="200" type="text" value="${requestScope.record.fwop}" placeholder="请输入跟进操作" />
			</p>
			<p class="nowrap">
				<label>备注</label>
				<textarea rows="4" cols="25" name="remk" maxlength="100" placeholder="请输入备注">${requestScope.record.remk}</textarea>
			</p>
			<%-- <p class="nowrap">
				<label>添加时间</label> <input name="addTime" class="date required" readonly="true" maxlength="${field.size}" type="text" value="${requestScope.record.addTime}" /> <a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<p class="nowrap">
				<label>操作人</label> <input name="operator" class="required" maxlength="50" type="text" value="${requestScope.record.operator}" />
			</p>
			<p class="nowrap">
				<label>是否删除 0否1是</label> <input name="del" class="required" maxlength="1" type="text" value="${requestScope.record.del}" />
			</p> --%>
		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">保存</button>
						</div>
					</div></li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>
